libxl: provide progress reporting for long-running operations
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 11 May 2012 17:59:05 +0000 (18:59 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 11 May 2012 17:59:05 +0000 (18:59 +0100)
commit254a9c4a28e9d35426bb098a2d52c035b8f1e416
tree20bf0ef4edb229b13c6915d3aa66ec422bbbd765
parent738b3d44252221ed3be1a860366a15a2d1b9b091
libxl: provide progress reporting for long-running operations

This will be used for reporting, during domain creation, that the
console is ready.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Changes since v7:
 * If aop->how.callback, actually add the aop to the for_callback list (!)
 * Document the threadsafety of aop's, and make appropriate cross-references.
 * Allocate the actual aop from its thread's egc; do not free it.
 * Remove pointless code motion of libxl__ao_create.
 * Minor formatting fixes.
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_event.c
tools/libxl/libxl_internal.h